]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
window: Port to AdwToolbarView
authorChristopher Davis <christopherdavis@gnome.org>
Mon, 19 Jun 2023 00:55:38 +0000 (20:55 -0400)
committerChristopher Davis <christopherdavis@gnome.org>
Mon, 19 Jun 2023 00:55:38 +0000 (20:55 -0400)
Applications should use AdwToolbarView going forward to contain
their headerbar and content.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802>

subprojects/extensions-app/data/ui/extensions-window.ui

index e214b97a2306a5578f4c0712ab00dd55620699f5..0754b91a27f1bb56ed07cee663344e6224d8c379 100644 (file)
@@ -17,9 +17,8 @@
     <property name="default-height">500</property>
     <property name="title" translatable="yes">Extensions</property>
     <child>
-      <object class="GtkBox">
-        <property name="orientation">vertical</property>
-        <child>
+      <object class="AdwToolbarView">
+        <child type="top">
           <object class="GtkHeaderBar">
             <child type="end">
               <object class="GtkMenuButton" id="menuButton">
@@ -53,7 +52,7 @@
             </child>
           </object>
         </child>
-        <child>
+        <child type="top">
           <object class="GtkSearchBar" id="searchBar">
             <property name="key-capture-widget">ExtensionsWindow</property>
             <property name="search-mode-enabled"
@@ -67,7 +66,7 @@
             </child>
           </object>
         </child>
-        <child>
+        <property name="content">
           <object class="GtkStack" id="mainStack">
             <property name="transition-type">crossfade</property>
             <property name="vexpand">True</property>
               </object>
             </child>
           </object>
-        </child>
-        <child>
+        </property>
+        <child type="bottom">
           <object class="GtkActionBar" id="updatesBar">
             <property name="revealed">False</property>
             <child>